Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: stmt support sql custom mask handle #4213

Closed
wants to merge 2 commits into from

Conversation

smithyj
Copy link
Contributor

@smithyj smithyj commented Jun 26, 2024

在 finish 记录日志时,可以自定义 sql 掩码处理,防止日志泄密

@smithyj smithyj closed this Jun 26, 2024
@smithyj smithyj reopened this Jun 26, 2024
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.10%. Comparing base (8690859) to head (010d81e).
Report is 75 commits behind head on master.

Additional details and impacted files
Files Coverage Δ
core/stores/sqlx/stmt.go 100.00% <100.00%> (ø)

... and 254 files with indirect coverage changes

@smithyj
Copy link
Contributor Author

smithyj commented Jul 1, 2024

@kevwan

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@kevwan

@kevwan kevwan self-requested a review July 2, 2024 02:47
@MarkJoyMa
Copy link
Collaborator

The processing here only performs mask processing on the audit log of sqlx. It may be better if logx supports the mask capability at the framework layer. We plan to support this feature in the near future.

@MarkJoyMa MarkJoyMa added the do-not-merge/deprecated Marks an issue or PR as deprecated label Jul 3, 2024
@smithyj
Copy link
Contributor Author

smithyj commented Jul 9, 2024

ok

@smithyj smithyj closed this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/deprecated Marks an issue or PR as deprecated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants